Ext.define('admin.controller.adminController', {
    extend: 'Ext.app.Controller',
    stores: ["adminMenuStore"],
    models: ['adminMenuModel'],
    views: ['Viewport','main.adminLayout','main.adminHeader','main.adminMenu'],
    userLogout:function(){
        alert(1);
        Ext.Msg.confirm("确认","您确认要注销当前登录用户吗?",function(btn){
            if(btn=="yes"){
                Ext.Msg.alert('提示','注销成功');
            }
        })
    }
});
